﻿using System;
using Freshbooks.XmlSerializers;

namespace Freshbooks.Model
{
    [FreshbooksSerialization(Name = "member")]
    public class StaffMember
    {
        [FreshbooksSerialization(Name = "staff_id")]
        public int StaffId { get; set; }

        [FreshbooksSerialization(Name = "username")]
        public string Username { get; set; }

        [FreshbooksSerialization(Name = "first_name")]
        public string NameFirst { get; set; }

        [FreshbooksSerialization(Name = "last_name")]
        public string NameLast { get; set; }

        [FreshbooksSerialization(Name = "email")]
        public string EMail { get; set; }

        [FreshbooksSerialization(Name = "business_phone")]
        public string PhoneBusiness { get; set; }

        [FreshbooksSerialization(Name = "mobile_phone")]
        public string PhoneMobile { get; set; }

        [FreshbooksSerialization(Name = "rate")]
        public float Rate { get; set; }

        [FreshbooksSerialization(Name = "last_login")]
        public DateTime LastLogin { get; set; }

        [FreshbooksSerialization(Name = "number_of_logins")]
        public int NumberOfLogins { get; set; }

        [FreshbooksSerialization(Name = "signup_date")]
        public DateTime SignupDate { get; set; }

        [FreshbooksSerialization(Name = "street1")]
        public string Street1 { get; set; }

        [FreshbooksSerialization(Name = "street2")]
        public string Street2 { get; set; }

        [FreshbooksSerialization(Name = "city")]
        public string City { get; set; }

        [FreshbooksSerialization(Name = "state")]
        public string State { get; set; }

        [FreshbooksSerialization(Name = "country")]
        public string Country { get; set; }

        [FreshbooksSerialization(Name = "code")]
        public string PostalCode { get; set; }
    }
}
